package com.softa.bean;


/**
 * 类名： ResultDto
 * 概要： 结果集DTO
 * @version 1.00 
 * @author yangl
 *
 */
public class ResultDTO extends BaseDto {

    private static final long serialVersionUID = -4326790054159069267L;

    public String type = SUCCESS;

    public Object result;
    
    public Object result2;
    
    private Integer id;
    public String message;

    public ResultDTO() {
    }

    public ResultDTO(String type, Object result, String message) {
        this.type = type;
        this.result = result;
        this.message = message;
    }

    public ResultDTO(Object result) {
        this.result = result;
    }

    public ResultDTO(String type, String message) {
        this.type = type;
        this.message = message;
    }

    public ResultDTO(String type, Object result) {
        this.type = type;
        this.result = result;
    }

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
